﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SmsVotes.DataAccess;

namespace SmsVotes.SmsVoting
{
    public partial class VotesHistory : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            lvVotes.DataSource = StateManager.GetAll(Page.User.Identity.Name);
            lvVotes.DataBind();
        }
    }
}